/* 引入字体 */
/* @font-face {
    font-family: "PingFang SC";
    src: url("~@/assets/fonts/PingFang-SC-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
} */

*,
*::before,
*::after {
    box-sizing: inherit;
}

html {
    user-select: none;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    line-height: normal;
    /* font-family: PingFang SC; */
}

body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
}

/* 通用样式 */
.main {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    align-content: stretch;
    flex-wrap: wrap;
    padding: 0 1.5rem;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.main-scrollbar {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    overflow: auto;
    padding: 0 15px;
    background-color: rgb(242, 243, 245);
}

.main-scrollbar::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.main-scrollbar::-webkit-scrollbar-track {
    border-radius: 4px;
}

.main-scrollbar::-webkit-scrollbar-thumb {
    background-color: rgba(130, 130, 130, 1);
    border-radius: 4px;
}

.main-header {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.main-table {
    box-sizing: border-box;
    flex: 1 1 auto;
    flex-basis: 0;
    margin-top: 15px;
    overflow: hidden;
    padding-right: 1px;
    padding-bottom: 1px;
}

.main-table-header {
    color: #000;
    font-size: 12px;
    font-weight: bold;
}

.main-pagination {
    margin-top: 15px;
    margin-bottom: 15px;
}

/* 登录页样式 */
.login-page {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0 7%;
    background-image: url("~@/assets/image/1.jpg");
    background-size: cover;
    background-position: center center;
}

.login-container {
    box-sizing: border-box;
    width: 575px;
    height: 576px;
    background-image: url("~@/assets/image/2.png");
    background-size: 100% 100%;
    overflow: hidden;
    padding: 0 50px;
    scale: 0.7;
}

.login-title {
    font-size: 40px;
    font-family: AlibabaPuHuiTi;
    font-weight: 400;
    color: #48bdd1;
    text-align: center;
    margin-top: 55px;
}

.login-field {
    display: flex;
    align-items: center;
    height: 64px;
    border: 2px solid #00c0ff;
    border-radius: 7px;
    background-color: rgba(72, 189, 209, 0.6);
}

.login-field:nth-child(2) {
    margin-top: 57px;
}

.login-field:nth-child(3) {
    margin-top: 38px;
}

.login-field-icon {
    width: 27px;
    min-width: 27px;
    height: 30px;
    margin-left: 25px;
}

.login-field-value {
    flex-grow: 1;
    background-color: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 23px;
    margin-left: 19px;
}

.login-field-value::placeholder {
    color: #48bdd1;
    font-size: 23px;
}

.login-checkbox {
    display: flex;
    align-items: center;
    margin-top: 33px;
    cursor: pointer;
}

.login-checkbox-icon {
    width: 21px;
    min-width: 21px;
    height: 20px;
}

.login-checkbox-text {
    font-size: 18px;
    font-family: AlibabaPuHuiTi;
    font-weight: 400;
    color: #48bdd1;
    margin-left: 12px;
}

.login-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 64px;
    background: #48bdd1;
    opacity: 0.6;
    border-radius: 7px;
    font-size: 30px;
    font-family: AlibabaPuHuiTi;
    font-weight: 400;
    color: #ffffff;
    margin-top: 48px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.login-button:hover {
    opacity: 1;
}

/* 头部样式 */
.header-collapse {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: rgb(115, 139, 168);
    font-size: 25px;
    border-right: 1px solid #eee;
    cursor: pointer;
}

.header-collapse:hover {
    background-color: #eee;
}

.header-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
}

.header-username {
    font-size: 14px;
    color: #333;
    padding-left: 10px;
    margin-right: 30px;
    cursor: pointer;
}

.header-fullscreen {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: rgb(115, 139, 168);
    font-size: 20px;
    cursor: pointer;
    margin-left: auto;
}

.header-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: rgb(115, 139, 168);
    font-size: 16px;
    cursor: pointer;
    margin-right: 10px;
}